package com.wenhai.spring.bean.factory;

import com.wenhai.xiaomage.spring.ioc.overview.dependency.domain.User;

/**
 * @Author:wenhai
 * @Description: {@link User} 工厂类
 * @Date:2020/3/24
 */
public interface UserFactory<T> {
    default User createUser() {
        return new User(2L);
    }
}
